<?php
	if($_SERVER['HTTP_HOST']=="localhost"){
		$db_host = 'localhost';
		$db_user = 'root';
		$db_pass = 'root';
		$db_name = 'autohit';
	}
	else{
		$db_host = 'localhost';
		$db_user = 'root';
		$db_pass = 'C)6QgPICJeg';
		$db_name = 'test123';
	}

	$conn = mysql_connect($db_host, $db_user, $db_pass) or die('Error connecting to mysql');
	mysql_select_db($db_name);
	mysql_set_charset('utf8', $conn); 
?>
